<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<%
	String contextPath = request.getContextPath();
%>
<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content=",initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
	<meta name="apple-mobile-web-app-capable" content="yes" />
	<meta name="apple-mobile-web-app-status-bar-style" content="black" />
	<title>修改地址</title>
	<!-- inject:css -->
	<link rel="stylesheet" href="<%=contextPath %>/resources/css/main.css">
	<!-- endinject -->
</head>

<body>
	<div class="main">
		<div class="editAddress">
			<form action="<%= contextPath%>/usercenter/doEditAddress" name="" class="addressEditForm" method="post">
				<ul class="inputArea">
					<li class="relative">
						<input type="hidden" name="member_id" id="member_id" value="${memberAddress.member_id}">
						<input type="hidden" name="id" id="id" value="${memberAddress.id}">
						<input type="hidden" name="openid" id="openid" value="${openid}">
						<input type="hidden" name="moduleType" id="moduleType" value="${moduleType}">
						
						<input type="text" size="11" placeholder="请输入手机号" onkeyup='this.value=this.value.replace(/\D/gi,"")'  name="mobile" id="mobile" value="${mobile}">
						<i class="cleanBtn"></i>
					</li>
					<li>
						<input type="text" placeholder="请输入姓名" name="name" id="name" value="${memberAddress.name }">
					</li>
					<li class="rArrow">
						<a href="javascript:void(0);" onclick="choosecity()">
							<input type="text" placeholder="选择门店" name="store_id" id="store_id" readonly="readonly" value="${store_name }">
						</a>
					</li>
					<li>
						<input type="text" placeholder="详细地址" name="address" id="address" value="${memberAddress.address }">
					</li>
				</ul>
				<div class="btnWrap">

					<button type="submit" class="saveBtn">保存</button>
				</div>
			</form>
		</div>
	</div>
	<script src="<%=contextPath %>/resources/bower_components/zepto/zepto.min.js"></script>
	<script src="<%=contextPath %>/resources/js/server.domian.js"></script>
	<script src="<%=contextPath %>/resources/js/citychange.js"></script>
	<script>
		function cleanTelphone(){
			$('#mobile').val("");
		}
		$('.cleanBtn').bind('click',cleanTelphone);
	</script>
</body>

</html>